package com.farm.agricultural.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.farm.common.annotation.Excel;
import com.farm.common.core.domain.BaseEntity;

/**
 * 农资管理对象 agricultural
 * 
 * @author yd
 * @date 2024-03-07
 */
public class Agricultural extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 农资编号 */
    private Long agriculturalId;

    /** 农资名称 */
    @Excel(name = "农资名称")
    private String agriculturalName;

    /** 生产厂家 */
    @Excel(name = "生产厂家")
    private String agriculturalProduction;

    /** 进货数量 */
    @Excel(name = "进货数量")
    private Long agriculturalNum;

    /** 剩余库存量 */
    @Excel(name = "剩余库存量")
    private Long agriculturalInventory;

    /** 剩余有效期 */
    @Excel(name = "剩余有效期")
    private Long agriculturalTime;

    /** 农资展示 */
    @Excel(name = "农资展示")
    private String agriculturalShow;

    public void setAgriculturalId(Long agriculturalId) 
    {
        this.agriculturalId = agriculturalId;
    }

    public Long getAgriculturalId() 
    {
        return agriculturalId;
    }
    public void setAgriculturalName(String agriculturalName) 
    {
        this.agriculturalName = agriculturalName;
    }

    public String getAgriculturalName() 
    {
        return agriculturalName;
    }
    public void setAgriculturalProduction(String agriculturalProduction) 
    {
        this.agriculturalProduction = agriculturalProduction;
    }

    public String getAgriculturalProduction() 
    {
        return agriculturalProduction;
    }
    public void setAgriculturalNum(Long agriculturalNum) 
    {
        this.agriculturalNum = agriculturalNum;
    }

    public Long getAgriculturalNum() 
    {
        return agriculturalNum;
    }
    public void setAgriculturalInventory(Long agriculturalInventory) 
    {
        this.agriculturalInventory = agriculturalInventory;
    }

    public Long getAgriculturalInventory() 
    {
        return agriculturalInventory;
    }
    public void setAgriculturalTime(Long agriculturalTime) 
    {
        this.agriculturalTime = agriculturalTime;
    }

    public Long getAgriculturalTime() 
    {
        return agriculturalTime;
    }
    public void setAgriculturalShow(String agriculturalShow) 
    {
        this.agriculturalShow = agriculturalShow;
    }

    public String getAgriculturalShow() 
    {
        return agriculturalShow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("agriculturalId", getAgriculturalId())
            .append("agriculturalName", getAgriculturalName())
            .append("agriculturalProduction", getAgriculturalProduction())
            .append("agriculturalNum", getAgriculturalNum())
            .append("agriculturalInventory", getAgriculturalInventory())
            .append("agriculturalTime", getAgriculturalTime())
            .append("agriculturalShow", getAgriculturalShow())
            .toString();
    }
}
